package com.hyj.shop.project.index.service;


import com.hyj.shop.project.goods.domain.Goods;
import com.hyj.shop.project.index.domain.Article;
import com.hyj.shop.project.index.domain.Comment;
import com.hyj.shop.project.utils.domain.AjaxResult;
import com.hyj.shop.project.utils.domain.Msg;

import java.util.List;
import java.util.Map;

public interface IndexService {
    List<Article> queryArticleByPage(Article article);
    AjaxResult submitComment(Map map);
    AjaxResult queryComment(int articleId);
    AjaxResult publishArticle(Article article);
    AjaxResult updateArticle(Article article);
    AjaxResult articleDetail(int articleId);
    AjaxResult getHomeBackground();
}

